<?php

namespace addons\collect\controller;

use QL\QueryList;
use think\addons\Controller;

class Index extends Controller
{

    public function index()
    {
        return $this->fetch();
    }

    public function collect(){
        $data = QueryList::get('http://cms.querylist.cc/bizhi/453.html')->find('img')->attrs('src');
        var_dump($data);
    }

}
